package com.sundae.smarthomedemo.Beans;

import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Id;
import org.greenrobot.greendao.annotation.Generated;

/**
 * Created by daijiyuan on 2017/6/7.
 * 邮箱 948820549@qq.com
 *
 * @Sundae
 */

@Entity
public class DeviceSQLBean{

    @Id(autoincrement = true)
    private Long id = null;
    private String username;
    private String password;
    private String device_name = "测试设备";
    private int device_type;
    private String device_register_time;
    private String run_status = "休眠中";
    private String run_status1 = "";
    private float temp = 35.0f;
    private float setTemp = 40.0f;
    private boolean power = false;
    private int model_type = 0;
    @Generated(hash = 2029791150)
    public DeviceSQLBean(Long id, String username, String password,
            String device_name, int device_type, String device_register_time,
            String run_status, String run_status1, float temp, float setTemp,
            boolean power, int model_type) {
        this.id = id;
        this.username = username;
        this.password = password;
        this.device_name = device_name;
        this.device_type = device_type;
        this.device_register_time = device_register_time;
        this.run_status = run_status;
        this.run_status1 = run_status1;
        this.temp = temp;
        this.setTemp = setTemp;
        this.power = power;
        this.model_type = model_type;
    }
    @Generated(hash = 2073392683)
    public DeviceSQLBean() {
    }
    public Long getId() {
        return this.id;
    }
    public void setId(Long id) {
        this.id = id;
    }
    public String getUsername() {
        return this.username;
    }
    public void setUsername(String username) {
        this.username = username;
    }
    public String getPassword() {
        return this.password;
    }
    public void setPassword(String password) {
        this.password = password;
    }
    public String getDevice_name() {
        return this.device_name;
    }
    public void setDevice_name(String device_name) {
        this.device_name = device_name;
    }
    public int getDevice_type() {
        return this.device_type;
    }
    public void setDevice_type(int device_type) {
        this.device_type = device_type;
    }
    public String getRun_status() {
        return this.run_status;
    }
    public void setRun_status(String run_status) {
        this.run_status = run_status;
    }
    public String getRun_status1() {
        return this.run_status1;
    }
    public void setRun_status1(String run_status1) {
        this.run_status1 = run_status1;
    }
    public float getTemp() {
        return this.temp;
    }
    public void setTemp(float temp) {
        this.temp = temp;
    }
    public float getSetTemp() {
        return this.setTemp;
    }
    public void setSetTemp(float setTemp) {
        this.setTemp = setTemp;
    }
    public boolean getPower() {
        return this.power;
    }
    public void setPower(boolean power) {
        this.power = power;
    }
    public int getModel_type() {
        return this.model_type;
    }
    public void setModel_type(int model_type) {
        this.model_type = model_type;
    }
    public String getDevice_register_time() {
        return this.device_register_time;
    }
    public void setDevice_register_time(String device_register_time) {
        this.device_register_time = device_register_time;
    }

}
